<template>
	<view>
		<page-head :title="title"></page-head>
		<view>用户：{{username}}</view>
		<view>ID:{{userid}}</view>
	</view>
</template>
<script>
	export default {
		data() {
			return {
				title: '新建的页面',
				username: "未知",
				userid: 0
			}
		},
		// oncreate
		onLoad(options) {
			console.log("onLoad--> " + JSON.stringify(options));
			this.username = options.User;
			this.userid = options.userid;
		}
	}
</script>